function sitestatus_update(divTargetId)
{
	
	var sitestatus_date = new Date();
	var hours = sitestatus_date.getHours();
	var minutes = sitestatus_date.getMinutes();

	var suffix = "am";
	if (hours >= 12) {
		suffix = "pm";
		hours = hours - 12;
	}
	if (hours == 0) {
		hours = 12;
	}
	
	if (minutes < 10)
		minutes = "0" + minutes;
	
	var divTarget = document.getElementById(divTargetId);
	divTarget.innerHTML = (hours + ":" + minutes + suffix);

	setTimeout('sitestatus_update(\'' + divTargetId + '\')', 30000);
}

function sitestatus(divTarget)
{
	this._divTarget = divTarget;
	setTimeout('sitestatus_update(\'' + this._divTarget.id + '\')', 1);
	
}